package org.kongqian.gift.client;

import org.kongqian.gift.domain.LoginUser;
import org.kongqian.gift.util.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "AUTH-SERVER",fallbackFactory = LoginUserClientFallbackFactory.class)
public interface LoginUserClient {
    @PutMapping("/loginUser")
     AjaxResult addOrUpdate(@RequestBody LoginUser loginUser);
}
